package com.hengpeng.itfin.persist;

import java.util.Date;
import java.util.List;

import com.hengpeng.itfin.domain.vo.AccountLogVO;
import com.hengpeng.itfinbase.persist.Account;
import com.hengpeng.itfinbase.persist.AccountLogReport;
import com.hengpeng.itfinbase.persist.ReceivePlan;
import com.hengpeng.itfinbase.persist.RepaymentPlan;

public interface StaticJDBCDao
{

	/**
	 * <pre>
	 * 统计平台账户总资金情况
	 * </pre>
	 * @return
	 */
	public Account getPlatformAccount();

	/**
	 * <pre>
	 * 统计平台账户交易日结
	 * </pre>
	 * @param start
	 * @param end
	 * @param transType
	 * @return
	 */
	public List<AccountLogVO> getPlatAccountTrade(Date start, Date end, String[] transType);

	/**
	 * <pre>
	 * 统计还款金额及利息
	 * </pre>
	 * @param borrowId
	 * @return
	 */
	public RepaymentPlan getTotleRepay(Long borrowId);

	/**
	 * <pre>
	 * 统计收款列表
	 * </pre>
	 * @param borrowId
	 * @return
	 */
	public List<ReceivePlan> getTotleList(Long borrowId);

	/**
	 * <pre>
	 * 统计收款总和
	 * </pre>
	 * @param investInfoId
	 * @param userId
	 * @return
	 */
	public ReceivePlan getTotleReceive(Long investInfoId, Long userId);

	/**
	 * <pre>
	 * 获取平台手续费
	 * </pre>
	 * @return
	 */
	public AccountLogReport getPlatformSpedtAccount(String[] transTypes);
}
